Interface
EqualityComparer<T>
interface EqualityComparer<in T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: EqualityComparer.rvn
Defines a stable equality relation and matching hash codes.
Implementing types
Documented types in this API reference. Indirect relationships are marked.
Methods
2 items
Equals(left: T, right: T) -> bool
Tests equality under this policy.
Defined by EqualityComparer<T>.Equals · Required implementation (no default).
GetHashCode(value: T) -> int
Computes the matching hash code.
Defined by EqualityComparer<T>.GetHashCode · Required implementation (no default).